beta100=190

## Ensemble List
if [ $beta100 -eq 195 ]
then
#eList=(1 2 3 4 7 8 )
#eList=(1 2 3 7 8)
#eList=(1 2 3 7 8)
eList=(3)
fi
if [ $beta100 -eq 190 ]
then
#eList=("A1")
eList=("A3" "A4")
fi
if [ $beta100 -eq 210 ]
then
eList=(2 3 4 5)
fi

#pmList
pmList=("p" "m")
#pmList=("p")
# Momenta

if [ $beta100 -eq 190 ]
then
Nmomm1=491
fi

if [ $beta100 -eq 195 ]
then
Nmomm1=139
fi 
if [ $beta100 -eq 210 ]
then
Nmomm1=491
fi

for e in ${eList[*]}
do

                if [ $beta100 -eq 190 ]
                then
                        if [ $e = "A1" ]; then Nmass=6; fi
                        if [ $e = "A3" ]; then Nmass=6; fi
                        if [ $e = "A4" ]; then Nmass=6; fi
                fi


                if [ $beta100 -eq 195 ]
                then
                        if [ $e -eq 1 ] || [ $e -eq 2 ] || [ $e -eq 7 ] || [ $e -eq 8 ] ; then Nmass=5 ; fi
                        if [ $e -eq 3 ] || [ $e -eq 4 ] ; then Nmass=8 ; fi
                fi

                if [ $beta100 -eq 210 ]
                then
                        if [ $e -eq 2 ]; then Nmass=7; fi
                        if [ $e -eq 3 ]; then Nmass=7; fi
                        if [ $e -eq 5 ]; then Nmass=6; fi
                        if [ $e -eq 4 ]; then Nmass=6; fi
                fi
	
		Nmassm1=$(echo "$Nmass - 1 " | bc -l)
	for pm in ${pmList[*]}
	do



	for imom in `seq 0 $Nmomm1`
	do
	echo $beta100 $e $pm $imom $Nmass 2 >> todo_list.Calc_D
	done
	
	done
done
